From: Giovanni Campagna Date: Fri, 3 Aug 2012 15:44:54 +0000 (+0200) Subject: ScreenShield: lower the autodrag threshold to 10% X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6228 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a29ceaa8ec1bfef19204e5db70a0aa504615ed30;p=gnome-shell.git ScreenShield: lower the autodrag threshold to 10% The threshold is there just to ensure that the user is opening the curtain on purpose. Requiring 40% is too much for that. https://bugzilla.gnome.org/show_bug.cgi?id=681143 --- diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index fcc079d03..3844a0018 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -20,7 +20,7 @@ const LOCK_ENABLED_KEY = 'lock-enabled'; const CURTAIN_SLIDE_TIME = 1.2; // fraction of screen height the arrow must reach before completing // the slide up automatically -const ARROW_DRAG_TRESHOLD = 0.4; +const ARROW_DRAG_TRESHOLD = 0.1; const SUMMARY_ICON_SIZE = 48;